#ifndef EDITOR_HPP
#define EDITOR_HPP

#include <vector>
#include <string>

#include "../Game/Level/LevelLoader.hpp"
#include "../Renderer/Renderer.hpp"
#include "../Renderer/SpriteManager.hpp"

#include <SFML/Graphics.hpp>

class Editor
{
    private:

        LevelLoader m_loader;
        Renderer m_renderer;
        SpriteManager m_spriteManager;

        std::string m_fileName;

        std::vector<int> m_ids;

        bool m_running;

    public:

        Editor(sf::RenderWindow* pRWindow, const std::string& fileName);

        bool load();

        void run();

        void handleEvents();
        void exitGame();
};

#endif
